package com.xsk.domain.second;

import com.xsk.domain.first.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserSecondRepository extends JpaRepository<UserSecond, Long> {
    User findByName(String name);

    User findByNameAndAge(String name, int age);

    List<User> findByNameLike(String name);

}
